
<template>
  <div>
    <!-- <h2 class="title">{{ message }}</h2> -->
    <button @click="btnclick">按钮</button>
  </div>
</template>

<script>
export default {
     data() {
        return {
            message:'hello vue + webpack',
        }
    },
    methods: {
        btnclick(){
            document.write('gmy')
        }
    },
}
</script>

<style scoped>
    .title{
     color:green;  
    }

</style>

